#pragma once
#include "hoopstool.h"
#include "dcl_ModelTool.h"

class HModelLayerModel;
class DEF_MODELTOOL CMatchWireByStyle :
	public CHoopsTool
{
public:
	CMatchWireByStyle(HBaseView *view, map<CString, bool> mapWS);
	~CMatchWireByStyle(void);

	void Executive();
	void RedrawBigdrawing();

	void RenderModel(const CSubSystem*  pSystem);
	void RenderModel(const CDevice* pDevice);
	void RenderModel(const CPin* pPin);
	void RenderModel(const CCable* pCable);
	void RenderModel(const CSubCable *pSubCable);
	void RenderModel(const CConnector *pConnector);
	void RenderModel(const CWire *pWire);

	bool IsWireMatch(CWireDisplayObj *pWireDis);

public:
	map<CString, bool> m_mapWS2Show;
	HModelLayerModel *m_pHmodel;
};

